

import 'package:fun4live/pages/homePage.dart';
import 'package:fun4live/pages/homePageController.dart';
import 'package:fun4live/pages/live_room/live_room_controller.dart';
import 'package:fun4live/pages/live_room/live_room_page.dart';
import 'package:get/get.dart';
import 'route_path.dart';

class AppPages{

  AppPages._();
  static final routes = [
    GetPage(
      name: RoutePath.kIndex,
      page: ()=>const homePageView(),
      bindings: [
        BindingsBuilder.put(() => homePageController())
      ]),
  //直播间
  GetPage(
    name: RoutePath.kLiveRoomDetail,
    page: ()=>const LiveRoomPage(),
    binding: BindingsBuilder.put(
      () => LiveRoomController(
      pSite: Get.arguments,
      pRoomId: Get.parameters["roomId"]??"",
            ),
      ),
    )

  ];
}